package com.pamper;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @program: pamper
 * @description: 程序的入口
 * @author: Mrs.Lin
 * @create 2019-09-09 19:24
 **/

// spring boot会扫描com.pamper下的所有包
@SpringBootApplication(scanBasePackages={"com.pamper.*"})
// 扫描mybatis的mapper文件
@MapperScan("com.pamper.mapper")
public class PamperApplication {
    public static void main(String[] args) {
        SpringApplication.run(PamperApplication.class, args);
    }
}

